//
//  FlyCollectionView.h
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2017/9/7.
//  Copyright © 2017年 lifayu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FlyCollectionIndexView.h"





@class FlyCollectionView;
@protocol FlyCollectionViewDelegate <UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout>
@required
-(NSArray *)indexTitlesForFlyCollectionView:(FlyCollectionView *)colletionView;

@end

/**
 带索引的CollectionView
 */
@interface FlyCollectionView : UIView

@property (strong , nonatomic) UICollectionView *collectionView;
@property (strong , nonatomic) FlyCollectionIndexView *collectionIndexView;

@property (weak, nonatomic) id<FlyCollectionViewDelegate>delegate;

- (void)reloadData;

@end
